//
//  NewVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/17.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "NewVCModel.h"
#import "NewSecondModel.h"

@implementation NewVCModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

}


-(void)setTopic:(NSMutableArray *)topic{

    _topic = topic;
//    NSLog(@"_topic===%@",_topic);
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _topic) {
        NewSecondModel *NSModel = [[NewSecondModel alloc] init];
        [NSModel setValuesForKeysWithDictionary:dic];
        [array addObject:NSModel];
   //     NSLog(@"NSModel===%@",NSModel.pic);

    }
    _topic = [NSMutableArray arrayWithArray:array];


}

@end
